This sketch is made by different sizes of triangles.
For loop is used for the repetitive pattern.
Also, variables are used to locate the lines and the triangles.